3.137 \(\int x^4 \sqrt{a^2+2 a b x+b^2 x^2} \, dx\)

Optimal. Leaf size=71 \[ \frac{b x^6 \sqrt{a^2+2 a b x+b^2 x^2}}{6 (a+b x)}+\frac{a x^5 \sqrt{a^2+2 a b x+b^2 x^2}}{5 (a+b x)} \]

[Out]

(a*x^5*Sqrt[a^2 + 2*a*b*x + b^2*x^2])/(5*(a + b*x)) + (b*x^6*Sqrt[a^2 + 2*a*b*x
+ b^2*x^2])/(6*(a + b*x))

_______________________________________________________________________________________

Rubi [A]  time = 0.0835968, antiderivative size = 71, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.083 \[ \frac{b x^6 \sqrt{a^2+2 a b x+b^2 x^2}}{6 (a+b x)}+\frac{a x^5 \sqrt{a^2+2 a b x+b^2 x^2}}{5 (a+b x)} \]

Antiderivative was successfully verified.

[In]  Int[x^4*Sqrt[a^2 + 2*a*b*x + b^2*x^2],x]

[Out]

(a*x^5*Sqrt[a^2 + 2*a*b*x + b^2*x^2])/(5*(a + b*x)) + (b*x^6*Sqrt[a^2 + 2*a*b*x
+ b^2*x^2])/(6*(a + b*x))

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 8.65216, size = 58, normalized size = 0.82 \[ \frac{a x^{5} \sqrt{a^{2} + 2 a b x + b^{2} x^{2}}}{30 \left (a + b x\right )} + \frac{x^{5} \sqrt{a^{2} + 2 a b x + b^{2} x^{2}}}{6} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(x**4*((b*x+a)**2)**(1/2),x)

[Out]

a*x**5*sqrt(a**2 + 2*a*b*x + b**2*x**2)/(30*(a + b*x)) + x**5*sqrt(a**2 + 2*a*b*
x + b**2*x**2)/6

_______________________________________________________________________________________

Mathematica [A]  time = 0.0222347, size = 33, normalized size = 0.46 \[ \frac{x^5 \sqrt{(a+b x)^2} (6 a+5 b x)}{30 (a+b x)} \]

Antiderivative was successfully verified.

[In]  Integrate[x^4*Sqrt[a^2 + 2*a*b*x + b^2*x^2],x]

[Out]

(x^5*Sqrt[(a + b*x)^2]*(6*a + 5*b*x))/(30*(a + b*x))

_______________________________________________________________________________________

Maple [A]  time = 0.006, size = 30, normalized size = 0.4 \[{\frac{{x}^{5} \left ( 5\,bx+6\,a \right ) }{30\,bx+30\,a}\sqrt{ \left ( bx+a \right ) ^{2}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(x^4*((b*x+a)^2)^(1/2),x)

[Out]

1/30*x^5*(5*b*x+6*a)*((b*x+a)^2)^(1/2)/(b*x+a)

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(sqrt((b*x + a)^2)*x^4,x, algorithm="maxima")

[Out]

Exception raised: ValueError

_______________________________________________________________________________________

Fricas [A]  time = 0.216082, size = 18, normalized size = 0.25 \[ \frac{1}{6} \, b x^{6} + \frac{1}{5} \, a x^{5} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(sqrt((b*x + a)^2)*x^4,x, algorithm="fricas")

[Out]

1/6*b*x^6 + 1/5*a*x^5

_______________________________________________________________________________________

Sympy [A]  time = 0.139093, size = 12, normalized size = 0.17 \[ \frac{a x^{5}}{5} + \frac{b x^{6}}{6} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x**4*((b*x+a)**2)**(1/2),x)

[Out]

a*x**5/5 + b*x**6/6

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.209569, size = 53, normalized size = 0.75 \[ \frac{1}{6} \, b x^{6}{\rm sign}\left (b x + a\right ) + \frac{1}{5} \, a x^{5}{\rm sign}\left (b x + a\right ) + \frac{a^{6}{\rm sign}\left (b x + a\right )}{30 \, b^{5}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(sqrt((b*x + a)^2)*x^4,x, algorithm="giac")

[Out]

1/6*b*x^6*sign(b*x + a) + 1/5*a*x^5*sign(b*x + a) + 1/30*a^6*sign(b*x + a)/b^5